﻿using System.Collections.Generic;
using Framework.ECS;
using Framework.Time;
using Framework.Utils;
using Game.Config;
using Game.Input;
using UnityEditor.VersionControl;
using UnityEngine;

namespace Framework.Game
{
    public class GameManager: Game.SingleGameObject<GameManager>
    {
        
        
        public GlobalConfig config;

        public InputBase input;
        
        public void Init(GlobalConfig config)
        {
            this.config = config;
            
            input = new InputPC();
        }

        public void Update(float dt)
        {
            input.Update();
            TimerMgr.Update(dt);
        }
    }
}